package com.blog.applet.controller;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.blog.applet.common.core.controller.BaseController;
import com.blog.applet.common.core.domain.AjaxResult;
import com.blog.applet.common.core.domain.PageResult;
import com.blog.applet.domain.BlogCategories;
import com.blog.applet.service.BlogTagService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/***
 * @Author 鳄鱼杆
 * @Date 2025/5/21 20:58
 */
@RestController
@RequestMapping("/tag")
public class BlogTageController extends BaseController {

    @Autowired
    private BlogTagService  blogTagService;

    /**
     * 查询分类列表
     * @return
     */
    @GetMapping("/list")
    public AjaxResult list(){

        return success(blogTagService.list());
    }



}
